<?php

return array(
    'router' => array(
        'routes' => array(
            // The following is a route to simplify getting started creating
            // new controllers and actions without needing to create a new
            // module. Simply drop new controllers in, and you can access them
            // using the path /application/:controller/:action
            'academico' => array(
                'type'    => 'Zend\Mvc\Router\Http\Segment',
                'options' => array(
                    'route'    => '/academico[/:controller][/:action]',
                    'constraints' => array(
                        'controller' => '[a-zA-Z][a-zA-Z0-9_-]*',
                        'action'     => '[a-zA-Z][a-zA-Z0-9_-]*',
                    ),
                    'defaults' => array(
                        '__NAMESPACE__' => 'Academico\Controller',
                        'controller'    => 'Index',
                        'action'        => 'index',
                    ),
                ),
                'may_terminate' => true,
                'child_routes' => array(
                    'default' => array(
                        'type'    => 'Wildcard',
                        'options' => array(
                        ),
                    ),
                ),
            ),
        ),
    ),
    'service_manager' => array(
        'abstract_factories' => array(
            'Zend\Cache\Service\StorageCacheAbstractServiceFactory',
            'Zend\Log\LoggerAbstractServiceFactory',
        ),
        'aliases' => array(
            'translator' => 'MvcTranslator',
        ),
    ),
    'controllers' => array(
        'invokables' => array(
            'Academico\Controller\Index'        => 'Academico\Controller\IndexController',
            'Academico\Controller\Inicial'      => 'Academico\Controller\InicialController',
            'Academico\Controller\Frequencia'   => 'Academico\Controller\FrequenciaController',
            'Academico\Controller\Procedimento' => 'Academico\Controller\ProcedimentoController',
            'Academico\Controller\Avaliacao'    => 'Academico\Controller\AvaliacaoController',
            'Academico\Controller\RecuperacaoContinua'  => 'Academico\Controller\RecuperacaoContinuaController',
            'Academico\Controller\InformacoesComplementares'    => 'Academico\Controller\InformacoesComplementaresController',
            'Academico\Controller\RelatorioDiagnostico'    => 'Academico\Controller\RelatorioDiagnosticoController',
        ),
    ),
    'view_manager' => array(
        'template_path_stack' => array(
            __DIR__ . '/../view',
        ),
    ),
    // Placeholder for console routes
    'console' => array(
        'router' => array(
            'routes' => array(
            ),
        ),
    ),
);
